package com.itlong.cloud.POJO.PO;

import com.itlong.cloud.annotation.ItlField;
import com.itlong.cloud.annotation.ItlTables;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;


/**
 *
 * <desc>
 *      云对讲-响应硬件变更结果
 * </desc>
 *
 * @createDate 2017/09/20
 */
@ItlTables("push_cloud_intercom_change_log")
@Data
@NoArgsConstructor()
@EqualsAndHashCode(callSuper=true)
public class PushCloudIntercomChangeLogPO extends BasePO implements Serializable,Cloneable {

    @ItlField(value = "command_id",notNull = "false")
    private String commandId;
    @ItlField(value = "device_unique",notNull = "false")
    private String deviceUnique;            //设备序列号

    @ItlField("sn")
    private String sn;      //sn

    @ItlField("command_type")
    private Integer commandType;     //变更业务类型,1-项目信息，2-用户信息,3-设备信息，4-房间信息，5-多媒体信息，6-全量更新，7-人脸库信息

    @ItlField("command_data")
    private String commandData;  //变更数据结果

    @ItlField("upgrade_time")
    private String upgradeTime;           //设备更新时间

    @Override
    public Object clone() throws CloneNotSupportedException {
        return super.clone();
    }
}